Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
Loading...
Searching...
No Matches
roc::core::Mutex Class Reference

Mutex. More...

#include <mutex.h>

Inheritance diagram for roc::core::Mutex:
roc::core::NonCopyable< T >

Public Types

typedef ScopedLock< MutexLock
 RAII lock. More...
 

Public Member Functions

void lock () const
 Lock mutex. More...
 
void unlock () const
 Unlock mutex. More...
 

Friends

class Cond
 

Detailed Description

Mutex.

Definition at line 27 of file mutex.h.

Member Typedef Documentation

◆ Lock

RAII lock.

Definition at line 30 of file mutex.h.

Constructor & Destructor Documentation

◆ Mutex()

roc::core::Mutex::Mutex ( )
inline

Definition at line 32 of file mutex.h.

◆ ~Mutex()

roc::core::Mutex::~Mutex ( )
inline

Definition at line 39 of file mutex.h.

Member Function Documentation

◆ lock()

void roc::core::Mutex::lock ( ) const
inline

Lock mutex.

Definition at line 44 of file mutex.h.

◆ unlock()

void roc::core::Mutex::unlock ( ) const
inline

Unlock mutex.

Definition at line 49 of file mutex.h.

Friends And Related Function Documentation

◆ Cond

friend class Cond
friend

Definition at line 54 of file mutex.h.


The documentation for this class was generated from the following file: